package com.fresh.qo;

import com.fresh.entity.FreshGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商品查询对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

public class GoodsQO {

    //页号
    private Integer pageNum;
    //页大小
    private Integer pageSize;
    //条件

    private String name;
    private Integer unitId;
    private Integer categoryId;
    private Integer supplierId;

    private LocalDateTime maxUpdateTime;
    private LocalDateTime minUpdateTime;

    private BigDecimal maxPrice;
    private BigDecimal minPrice;

    private String type;
}
